<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary
    x:Class="OpenLS.Chart.UI.ChartLinesPropertiesResources"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:chartui="clr-namespace:OpenLS.Chart.UI"
    xmlns:chart="http://schemas.Kherty.com/office/2007/chart"
    xmlns:drawing2="clr-namespace:OpenLS.Drawing.UI;assembly=OpenLS.Drawing.UI"
    xmlns:Internals="clr-namespace:OpenLS.Chart.UI.Internals">
    <ResourceDictionary.MergedDictionaries>
        <drawing2:LineResources/>
    </ResourceDictionary.MergedDictionaries>
    <DataTemplate DataType="{x:Type chart:ChartLines}">
        <TabControl TabStripPlacement="Left" chartui:ChartElement.ViewModel="{Binding Converter={x:Static Internals:ChartConverters.ViewModelFactory}}"
>
            <TabItem Header="{x:Static Internals:UIStringTable.LineColor}">
                <StackPanel>
                    <GroupBox>
                        <!--<ContentControl Content="{Binding}" ContentTemplate="{x:Static chartui:ShapedPropertiesResources.LineFillPropertiesTemplate}"/> -->
                        <ContentControl Content="{Binding Path=(chartui:ChartElement.ViewModel).LineFillFormatter, RelativeSource={RelativeSource Self}}" />

                    </GroupBox>
                </StackPanel>

            </TabItem>
            <TabItem Header="{x:Static Internals:UIStringTable.LineStyle}">
                <GroupBox Header="{x:Static Internals:UIStringTable.LineStyle}">
                    <ContentControl Content="{Binding Path=(chartui:ChartElement.ViewModel).LineStyleFormatter, RelativeSource={RelativeSource Self}}" />

                    <!--<Slider Minimum="0" Maximum="10" Value="{Binding RelativeSource={RelativeSource Self}, Path=(drawing2:DrawingElement.ShapeProperties).LineProperties.Width}"/>   -->
                </GroupBox>
            </TabItem>
        </TabControl>

    </DataTemplate>
    
</ResourceDictionary>